package org.lemon.db.tx;

/**
 * @since 2024-12-13 11:34
 */
public enum RecordType {
    CHECKPOINT(6),
    START(1),
    COMMIT(2),
    ROLLBACK(3),
    SETINT(4),
    SETSTRING(5);

    int code;

    RecordType(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
